package project.menu.mainmenu;

import java.util.ArrayList;

import project.menu.IMenu;
import project.menu.IMenuItem;

public class MainMenu implements IMenu{
	public static  MainMenu MAINMENU;
	private  ArrayList<IMenuItem> menu;
	
	private MainMenu(){
				
	}
	
	public static  MainMenu getInstance(){
		if(MAINMENU== null){
			MAINMENU=new MainMenu();
		}
		return MAINMENU;
	}
	

		
	public void setMenu(ArrayList<IMenuItem> menu){
		this.menu=menu;
		
	}
	
	public ArrayList<IMenuItem> getMenu(){
		return menu;
	}
	
	
	
	

	
}
